package com.chy.blog_server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * Web程序启动类
 */
public class BlogServerServletInitializer extends SpringBootServletInitializer {

    private final static Logger logger = LoggerFactory.getLogger(BlogServerServletInitializer.class);

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(BlogServerApplication.class);
    }

}
